package com.example.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.entity.mysql.MoldAllocationDetail;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class MoldAllocationVo {

    @ApiModelProperty("单别")
    @JsonProperty("orderType")
    private String orderType;

    @ApiModelProperty("单号")
    @JsonProperty("orderNumber")
    private String orderNumber;

    @ApiModelProperty("申请人id")
    @JsonProperty("applicant")
    private String applicant;

    @ApiModelProperty("申请人名称")
    @JsonProperty("applicantName")
    private String applicantName;

    @ApiModelProperty("收货人id")
    @JsonProperty("toUserId")
    private String toUserId;

    @ApiModelProperty("收货人名称")
    @JsonProperty("toUserName")
    private String toUserName;

    @ApiModelProperty("原因")
    @JsonProperty("reason")
    private String reason;

    @ApiModelProperty("申请日期")
    @JsonProperty("applicationDate")
    private String applicationDate;

    @ApiModelProperty("确认收货日")
    @JsonProperty("receiveDate")
    private String receiveDate;

    @ApiModelProperty("模具是否需要归还  Y-需要  N-不需要")
    @JsonProperty("needReturn")
    private String needReturn;

    @ApiModelProperty("归还日期 （需要归还时才填写）")
    @JsonProperty("returnDate")
    private String returnDate;

    @ApiModelProperty("备注(补充信息)")
    @JsonProperty("remark")
    private String remark;

    @ApiModelProperty("状态 N-未审核   I-审核中   Y-已审核  R-已作废   T-确认收货")
    @JsonProperty("status")
    private String status;

    //    @ApiModelProperty("审核码")
    @JsonIgnore
    private String approvalCode;

    //    @ApiModelProperty("结束码")
    @JsonIgnore
    private String completionCode;

    //单身列表
    List<MoldAllocationDetailVo> moldAllocationDetails;

}
